Rails.application.routes.draw do

  devise_for :users

  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  root :to => "page#welcome"

  resources :articles do
  	member do
      get :logs
      get :restore
    end  
  end
  	
  resources :photos
end
